home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ DataFactory 1.xpl < prev    next >
Text File  |  2001-04-12  |  2KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\Security\Common"
  5. "NAME"="MDAC DataFactory"
  6. "VERSION"="1.07"
  7. "OSVERSION"="0101011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Enable "Safe Mode""
  10. "DESCRIPTION 1"="Microsoft Data Access Components (MDAC) include a service, DataFactory, that allows developers to easily access data over the internet on this machine."
  11. "DESCRIPTION 2"="However, it can happen that this technique is a security problem. If configured in "Unsafe Mode", it allows hackers to execute code, query data and other ugly things. This bug was fixed with MDAC 2.0, but can still be a problem. "
  12. "DESCRIPTION 3"="To make sure your machine is safe, activate this option."
  13. "DESCRIPTION 4"="For more information, see http://www.microsoft.com/security/ (MS99-025)"
  14. "DESCRIPTION 5"="Updates to MDAC may be obtained free at http://www.microsoft.com/data/download.htm"
  15. "AUTHOR"="Xteq Systems"
  16. "CONTACTURL"="http://www.xteq.com"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=" "
  19.  
  20.  
  21. sP="HKLM\Software\Microsoft\DataFactory\HandlerInfo\"
  22. sV1="HandlerRequired"
  23. Sub Plugin_Initialize 
  24.     i=RegReadValue(sP & sV1)
  25.     if i=1 then SetUIElement 1,true
  26.  
  27. End Sub
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  33.  b=GetUIElement(1)
  34.  if b=true then
  35.   Call RegWriteValue(sP & sV1,1,2) 
  36.  else
  37.   Call RegWriteValue(sP & sV1,0,2) 
  38.  end if
  39. End Sub
  40.  
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.